package com.njtoyo.taxi.admin.service.business;

import com.njtoyo.taxi.admin.mapper.master.entity.CallPrepayRule;
import com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule.call_prepay_rule.CallPrepayFenceWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule.call_prepay_rule.CallPrepayRuleAddUpdateWrapper;
import com.taxi.entity.common.RestResult;

/**
 * @author mdf
 * @title: CallPrepayRuleService
 * @description: TODO
 * @date 2024/7/3 17:43
 */
public interface CallPrepayRuleService {
    RestResult add(CallPrepayRuleAddUpdateWrapper addWrapper);

    RestResult list(Integer current, Integer size, String customerRegionName);

    RestResult updateActive(CallPrepayRule callPrepayRule);

    RestResult deleteById(Long id);

    RestResult getInfoById(Long id);

    RestResult updateById(CallPrepayRuleAddUpdateWrapper addWrapper);

    RestResult addFence(CallPrepayFenceWrapper callPrepayRule);

//    RestResult deleteMongoById(String mongoId);
}
